import { log_mongoDB } from '../../../../../../../../../../../../../../conect_mongoDB_class_laugh_node';
import { get_log_db_cur_user } from '../../../../../../../../../Func/Log_info/Func/get_log_db_cur_user';
import { req_info_music_audio_upload } from '../../../Classes/cla_req_info_upload_music_audio';
import { spacename_audio } from '../../../DataDefine/sourceData';

/**
 * log_user_${cur_user_id}_audio
 *
 * log 当前 用户 的 audio 信息
 */
export function get_log_db_cur_user_audio(
  cur_info: req_info_music_audio_upload
) {
  let log_cur_user_audio = `${get_log_db_cur_user(
    cur_info
  )}_${spacename_audio}`;

  return log_mongoDB.collection(log_cur_user_audio);
}
